package com.itheima.mapper;

import com.itheima.pojo.OperateLog;
import com.itheima.pojo.OperateQueryParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OperSMapper {


    @Select(" select operate_log.*,emp.name operateEmpName from operate_log  left join emp  on  operate_log.operate_emp_id = emp.id ")
    List<OperateLog> list(OperateQueryParam operateQueryParam);
}
